package com.family.pedigree.service;

import com.family.pedigree.domain.FamilyTree;
import com.baomidou.mybatisplus.extension.service.IService;
import com.family.pedigree.domain.FamilyTreeNode;
import com.family.pedigree.domain.vo.FamilyRankVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 家族树 服务类
 * </p>
 *
 * @author forever
 * @since 2024-11-24
 */
public interface IFamilyTreeService extends IService<FamilyTree> {

    void add(FamilyTree tree);

    void edit(FamilyTree tree);

    List<?> getList(FamilyTree tree);

    List<FamilyRankVo> getRankList();

    void delByFamilyName(String familyName);
}
